<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
    <head>
        <title>Login</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <base th:href="@{/}">
        <link rel="stylesheet" href="static/css/bootstrap.min.css"/>
        <link rel="stylesheet" href="static/css/style.css"/>
                <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.0/dist/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
        
    </head>
<body>
<div class="jumbotron jumbotron-fluid">
  <div class="container">
    <h1 class="display-4">修改改密码</h1>
  </div>
</div>
 <form action="users/modifypwd" class="form-inline" method="post">
<div class="input-group mb-3">
  <div class="input-group-prepend">
    <span class="input-group-text" id="inputGroup-sizing-default">账号</span>
  </div>
  <input type="text" name="Uid" class="form-control" th:value="${user.Uid}"  aria-label="Sizing example input" aria-describedby="inputGroup-sizing-default" readonly>
</div><br>
<div class="input-group mb-3">
  <div class="input-group-prepend">
    <span class="input-group-text" id="inputGroup-sizing-default">旧密码</span>
  </div>
  <input type="password" name="oldUpwd" class="form-control" aria-label="Sizing example input" aria-describedby="inputGroup-sizing-default"  placeholder="在此输入旧密码">
</div><br>
<div class="input-group mb-3">
  <div class="input-group-prepend">
    <span class="input-group-text" id="inputGroup-sizing-default">新密码</span>
  </div>
  <input  type="password" name="newUpwd" class="form-control" aria-label="Sizing example input" aria-describedby="inputGroup-sizing-default" placeholder="在此输入新密码">
</div>
<button type="submit" class="btn btn-outline-dark">修改</button>
            </form>
            <br>
             <a class="btn btn-outline-info" th:href="@{'index/'+${session.sessionuser.Uid}}">返回首页</a>&nbsp;
             
</body>
</html>